וְהַבַּ֤יִת הַזֶּה֙ אֲשֶׁ֣ר הָיָ֣ה עֶלְי֔וֹן לְכָל־עֹבֵ֥ר עָלָ֖יו יִשֹּׁ֑ם וְאָמַ֗ר בַּמֶּ֨ה עָשָׂ֤ה יְהוָה֙ כָּ֔כָה לָאָ֥רֶץ הַזֹּ֖את וְלַבַּ֥יִת הַזֶּֽה׃
Rashi on II Chronicles
every passerby will be astounded i.e., The Temple will be destroyed, and every passerby will then be astounded (יִשֹּׁם), like (Job 18:20): “Concerning his day - the later people shall be astonished (נָשַׁמּוּ).”
Rashi on II Chronicles
Why has the Lord done בַּמֶּה, like (Deut. 29:23): “Why (עַל מֶה) has the Lord done thus,” and so it is written in I Kings (9:9).